<?php 
$template_url = func_request('url');
$template_url = urlencode($template_url);
$template_qq = func_request('qq');
$template_time = date('Y-m-d H:i:s');
$template_img = func_getQQLogo($template_qq);
$template_nick = func_getQQNick($template_qq);
if(strlen($template_url) < 5) {
	func_response('跳转地址不符合');
}
if (strlen($template_qq) < 5) {
	func_response('QQ号不符合');
}
$content = "<div style=\"max-width: 580px; margin: 0px auto; padding: 10px; background-color: rgb(255, 255, 255); border: 0px solid rgb(170, 170, 170); border-radius: 5px; box-shadow: rgb(153, 153, 153) 3px 3px 10px;\"><div style=\"color: rgb(51, 51, 51); font-family: Verdana, sans-serif; height: 23px; background: url(&quot;http://weixin.qq.com/zh_CN/htmledition/images/weixin/letter/mmsgletter_2_bg_topline.png&quot;) 0px 0px repeat-x;\"></div><div style=\"text-align: left; padding: 30px; line-height: 1.5;\"><div style=\"\"><p style=\"\">昵称：{$template_nick}<br>号码：{$template_qq}<br></p><p style=\"\">原先的为临时中转，将在限定时间失效。请您加入新的！&nbsp;<br></p><p style=\"margin-top:9px;font:12px/26px SimSun;line-height: 14px;text-align: center; color: #c5c7cc;\">请点击此按钮</p><a href=\"{$template_url}\"style=\"display:block;max-width:306px;margin:14px auto 0;height:40px;line-height:40px;text-align:center;color:#fff;font-size:16px;background-color:#4f9aee;border-radius:5px;text-decoration:none !important;\"rel=\"noopener\"target=\"_blank\">点击进入漏洞群</a><p></p></div></div><div style=\"color: rgb(136, 136, 136); font-family: Verdana, sans-serif; margin: 16px; text-align: center; font-size: 12px; text-shadow: rgb(238, 238, 238) 1px 0px 0px;\">{$template_time}</div></div>";